﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<ProductView>" %>
<%@ import Namespace="MvcApplication1.Models" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script src='<%= HttpRuntime.AppDomainAppVirtualPath%>Scripts/MicrosoftAjax.js' type="text/javascript"></script>
<script src='<%= HttpRuntime.AppDomainAppVirtualPath%>Scripts/MicrosoftMvcAjax.js' type="text/javascript"></script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Product</title>
</head>
<body>
    <div>
    <%= Model.CurrentCategory.CategoryName %>
    <br />
    <%= Model.CurrentProduct.Name %>
    <br />
    <%= Html.DisplayFor(Double => Model.CurrentProduct.Cost, "Product.Cost") %>
    <%= Ajax.ActionLink("Click Me", "SayHello", null)    %>
    </div>
</body>
</html>
